/*
 * Copyright (c) 2018-2999 北京小象智慧信息科技有限公司 All rights reserved.
 *
 * https://www.xiaoxiangai.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.bean.app.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yami.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author LGH
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class ShopCartItemDto extends ProductItemDto implements Serializable {
    private static final long serialVersionUID = -8284981156242930909L;

    @ApiModelProperty(value = "购物车ID", required = true)
    private Long basketId;

    @ApiModelProperty(value = "店铺ID", required = true)
    private Long shopId;

    //@ApiModelProperty(value = "规格名称", required = true)
   // private String skuName;

    @ApiModelProperty(value = "店铺名称", required = true)
    private String shopName;

    @ApiModelProperty(value = "商品原价", required = true)
    private Double oriPrice;

   // @ApiModelProperty(value = "推广员使用的推销卡号")
  //  private String distributionCardNo;

    @ApiModelProperty(value = "加入购物车的时间")
    private Date basketDate;

    @ApiModelProperty(value = "可使用优惠券ID", required = true)
    private Long recordId;

    @ApiModelProperty(value = "使用优惠券后价格", required = true)
    private Double favorablePrice;

    @ApiModelProperty(value = "优惠金额", required = true)
    private Double discountMoney;

    @ApiModelProperty(value = "活动总金额", required = true)
    private Double activityPrice;

//    @ApiModelProperty(value = "活动价",required = true)
//    private Double eventPrice;

//    @ApiModelProperty(value = "限购次数", required = true)
//    private Integer activityTimes;

    private Integer activityTimesFlag;

    private Integer activityOrderFlag;
}
